home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1994 / MacHack 1994.toast / MacHack™ 1987-1994 / MacHack™ '93 / Papers '93 / Macintosh as Internet Server ƒ / inetd / Libraries / myUtils / myUtils.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-02-06  |  555 b   |  30 lines  |  [TEXT/MPS ]

  1. #ifndef __MYUTILS__
  2. #define __MYUTILS__
  3.  
  4. #ifndef __TYPES__
  5. #include <Types.h>
  6. #endif
  7. #ifndef __PROCESSES__
  8. #include <Processes.h>
  9. #endif
  10.  
  11. #define BlockClear(ptr, size)    BlockSet(ptr, size, 0);
  12.  
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16.     typedef ProcessSerialNumber PSN, *PSNPtr, **PSNHnd;
  17.  
  18.  
  19.     Boolean    SameProcesses(ProcessSerialNumber* p1, ProcessSerialNumber* p2);
  20.     void    BlockSet(void* ptr, long len, char what);
  21.     OSErr    DebugIfErr(OSErr theErr);
  22.     void    PStrCat(Str255 base, Str255 append);
  23.     void    MBPrintf(char* form, ...);
  24.  
  25. #ifdef __cplusplus
  26. }
  27. #endif
  28.  
  29.  
  30. #endif